<?php
//用户控制器
class UserController extends Controller
{
    public function index()
    {
        echo '我们是用户!';
        $model = new Model('stu');
        // var_dump($model->select());
        $this->assign('list', $model->select());
        $this->display('User/index.html');
    }

    public function add()
    {
        echo 'User / add';
    }
}



?>